package org.dromara.pe.domain.bo;

import org.dromara.pe.domain.ScopeSetting;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 体测范围设置业务对象 phy_pe_scope_setting
 *
 * @author Lion Li
 * @date 2024-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ScopeSetting.class, reverseConvertGenerate = false)
public class ScopeSettingBo extends BaseEntity {

    /**
     * 逻辑主键
     */
    @NotNull(message = "逻辑主键不能为空", groups = { EditGroup.class })
    private Long scopeId;

    private List<Long> scopeIds;

    private String sportId;

    private String sportName;
    /**
     * 最小值
     */
//    @NotBlank(message = "最小值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String setLow;

    /**
     * 最大值
     */
//    @NotBlank(message = "最大值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String setTop;

    /**
     * 单位
     */
//    @NotBlank(message = "单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String unit;

    /**
     * 地点id
     */
//    @NotNull(message = "地点id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long areaId;

    /**
     * 地点
     */
//    @NotBlank(message = "地点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String areaName;

    /**
     * 场地类型
     */
//    @NotNull(message = "场地类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String placeType;

    /**
     * 场地类型名称
     */
//    @NotBlank(message = "场地类型名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String scopeTypeName;

    /**
     * 负责老师id
     */
//    @NotNull(message = "负责老师id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long teacherId;

    /**
     * 负责老师名称
     */
//    @NotBlank(message = "负责老师名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String teacherName;

    /**
     * 体测方式
     */
//    @NotBlank(message = "体测方式不能为空", groups = { AddGroup.class, EditGroup.class })
    private String scopeType;

    /**
     * 是否允许录入 0 允许  1不允许
     */
//    @NotBlank(message = "是否允许录入 0 允许  1不允许不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isEnter;

    /**
     * 录制范围最小值
     */
//    @NotBlank(message = "录制范围最小值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String enterSetLow;

    /**
     * 录制范围最大值
     */
//    @NotBlank(message = "录制范围最大值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String enterSetTop;

    private Long isDevice;

    private Long isStandard;



}
